//
//  TitleCollectionViewCell.m
//  HappinessTrip
//
//  Created by dllo on 15/10/9.
//  Copyright © 2015年 蓝鸥科技. All rights reserved.
//

#import "TitleCollectionViewCell.h"
#import "Fit.h"

@implementation TitleCollectionViewCell

-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.label = [[UILabel alloc]init];
        [self.contentView addSubview:self.label];
    }
    return self;
}
-(void)layoutSubviews
{
    [super layoutSubviews];
    _label.frame = CGRectMake(0, 0, 80 * W, 30 * H);
    _label.layer.cornerRadius = 15;
    _label.layer.masksToBounds = YES;
    _label.textAlignment = 1;

}










@end
